/* 自定义滚动条样式 */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(40, 40, 40, 0.3);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(100, 100, 100, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 120, 120, 0.8);
}

/* 针对Firefox的滚动条样式 */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 100, 100, 0.5) rgba(40, 40, 40, 0.3);
}

/* 账单记录项动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 表格行悬停效果 */
.bill-item:hover {
  background-color: rgba(60, 60, 60, 0.5);
}

/* 移动端优化样式 */
@media (max-width: 768px) {
  .custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  .bill-container {
    padding: 0.75rem !important;
  }
  
  .bill-header {
    padding: 0.5rem !important;
    font-size: 0.85rem !important;
  }
  
  .bill-item {
    padding: 0.5rem 0.25rem !important;
  }
}

/* 增强可读性的文本阴影 */
.text-white, .text-neutral-300, .text-red-400, .text-green-400 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 表格行间隔色 */
.bill-item:nth-child(even) {
  background-color: rgba(40, 40, 40, 0.3);
}

/* 订单号列样式 */
.bill-item > div:first-child {
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
} 